from clean_data import CleanData
def process_data():
    f_w=open("11.txt","w",encoding="utf8")
    op=CleanData("hit_stopwords.txt")
    with open("111.txt","r",encoding="utf8") as f:
        for line in f:
            line=line.strip("\n")
            newline=op.get_result(line)
            f_w.write(newline+"\n")
    f_w.close()
process_data()
# if __name__=="__main__":
#     process_data("111.txt")




